﻿/// <reference path="../../Scripts/jquery-1.4.1-vsdoc.js" />

function search() {
	var companyName = $("#companyName").val();
	var materialName = $("#materialName").val();
	var page = $("#page").val();
	page = page ? page : 1;
	var url = "/Search/Storage/?companyName=" + companyName
		+ "&materialName=" + materialName + "&page=" + page;
	window.location = url;
}